table of contents
        
      
      
    | GLUTSOLIDCONE(3) | Library Functions Manual (local) | GLUTSOLIDCONE(3) | 
NAME¶
glutSolidCone —
    Draw a solid cone.
LIBRARY¶
OpenGLUT - geometry
SYNOPSIS¶
#include
    <openglut.h>
void
  
  glutSolidCone(GLdouble
    base, GLdouble
    height, GLint
    slices, GLint
    stacks);
PARAMETERS¶
base
Cone radius at the base in the xy plane.
height
Height of cone in positive z direction.
slices
The number of divisions around the z axis. (latitudal)
stacks
The number of divisions along the z axis. (longitudal)
DESCRIPTION¶
The glutSolidCone() function draws a shaded cone with a base in the xy-plane, oriented in the positive z direction.
CAVEATS¶
The number of polygons representing the conical surface is proportional to (slices*stacks).